/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 123
 * Date: 2023-06-02
 * Time: 10:29
 */
public class test {
    public static void main(String[] args) {
        BinaryTree binaryTree = new BinaryTree() ;
        BinaryTree.TreeNode root = binaryTree.createTree() ;
        binaryTree.preOrder(root);

        System.out.println();
       BinaryTree.TreeNode ret = binaryTree.find(root , 'A') ;
        System.out.println(ret.val);
    }
}
